/*
 * @FilePath: /reacte-template/src/router/index.tsx
 * @Descripttion: 路由
 * @version: 1.0.0
 * @Author: lijinshen
 * @Date: 2024-05-19 12:19:30
 * @LastEditors: lijinshen
 * @LastEditTime: 2024-05-19 12:42:11
 */
import {createBrowserRouter} from "react-router-dom";
import Home from "@/views/Home";
import User from "@/views/User";

const router= createBrowserRouter([
  {
    path:"/",
    element:<Home/>
  },
  {
    path:"/user",
    element:<User/>
  }
])
export default router;
